import Layout from "@/views/layout.vue";
export default {
    routes: [
        {
            path: "/",
            component: Layout,
            redirect: "/baseInfo",
            children: [
                {
                    path: '/baseInfo',
                    name: 'baseInfo',
                    meta: {
                        title: '基本信息',
                        index: 1,
                    },
                    component: () => import("@/views/shoper/components/baseInfo.vue")
                },
                {
                    path: '/colletionStatus',
                    name: 'colletionStatus',
                    meta: {
                        title: '收运状态',
                        index: 1,
                    },
                    component: () => import("@/views/shoper/components/colletionStatus.vue")
                },
                {
                    path: '/appointment',
                    name: 'appointment',
                    meta: {
                        title: '预约清运',
                        index: 1,
                    },
                    component: () => import("@/views/shoper/components/appointment.vue")
                },

            ],
        },
        {
            path: "/notice",
            name: "notice",
            meta: {
                title: "消息提醒",
                index: 2,
            },
            component: () => import("@/views/shoper/components/notice.vue")
        },
    ],
    tabList: [
        {
            name: '基本信息',
            path: '/baseInfo'
        },
        {
            name: '收运状态',
            path: '/colletionStatus'
        },
        {
            name: '预约清运',
            path: '/appointment'
        }
    ]
};
